package com.yuke.cloud.service.omc.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;

@ApiModel(value="com.yuke.cloud.service.omc.entity.OdsTeamGoods")
@Data
@Table(name = "ods_team_goods")
public class OdsTeamGoodsDto {
    /**
     * 团购商品ID
     */

    @ApiModelProperty(value="teamGoodsId团购商品ID")
    private Long teamGoodsId;

    /**
     * 团购ID
     */

    @ApiModelProperty(value="teamId团购ID")
    private Long teamId;

    /**
     * 订单ID
     */

    @ApiModelProperty(value="intentId订单ID")
    private Long intentId;

    /**
     * 商品规格ID
     */

    @ApiModelProperty(value="specId商品规格ID")
    private Long specId;

    /**
     * 商品销售价格，单位为分
     */

    @ApiModelProperty(value="goodsPrice商品销售价格，单位为分")
    private Integer goodsPrice;

    /**
     * 商品数量
     */

    @ApiModelProperty(value="goodsNum商品数量")
    private Integer goodsNum;

    /**
     * 商品重量，单位为克
     */

    @ApiModelProperty(value="goodsWeight商品重量，单位为克")
    private Integer goodsWeight;

    /**
     * 是否已发货，0：未发货，1：已发货，2：退货申请，3：已退货。
     */

    @ApiModelProperty(value="goodsStatus是否已发货，0：未发货，1：已发货，2：退货申请，3：已退货。")
    private Byte goodsStatus;

    /**
     * 发货仓库ID
     */

    @ApiModelProperty(value="warehouseId发货仓库ID")
    private Long warehouseId;

    /**
     * 库存ID
     */

    @ApiModelProperty(value="storageId发货仓库ID")
    private Long storageId;

    /**
     * 佣金金额
     */

    @ApiModelProperty(value="commission")
    private Integer commission;

    /**
     * 佣金状态
     */

    @ApiModelProperty(value="checkStatus")
    private Integer checkStatus;

    private String specName;

    private String picUrl;

    private Long userId;

    private Long shopId;

    private Byte intentType;

    private String dateCreateTime;
}